Get-ChildItem "F:\MedAi\pancreas_all" -Directory -Recurse | Where-Object { $_.FullName -like "*\CT" }

╭─ pwsh   pancreas_ok   37ms⠀                                                                                                                      15,19:30 
╰─ .\get_CT.ps1   

    Directory: F:\MedAi\pancreas_all\ZS12097967
    Directory: F:\MedAi\pancreas_all\ZS12179287
    Directory: F:\MedAi\pancreas_all\ZS14063003
    Directory: F:\MedAi\pancreas_all\ZS15032118
    Directory: F:\MedAi\pancreas_all\ZS15144387
    Directory: F:\MedAi\pancreas_all\ZS16038800
    Directory: F:\MedAi\pancreas_all\ZS16111068
    Directory: F:\MedAi\pancreas_all\ZS16112563
    Directory: F:\MedAi\pancreas_all\ZS16142052
    Directory: F:\MedAi\pancreas_all\ZS16180220
    Directory: F:\MedAi\pancreas_all\ZS16191220
    Directory: F:\MedAi\pancreas_all\ZS16208705
    Directory: F:\MedAi\pancreas_all\ZS16244089
    Directory: F:\MedAi\pancreas_all\ZS16271163
    Directory: F:\MedAi\pancreas_all\ZS17194475
    Directory: F:\MedAi\pancreas_all\ZS17215163
    Directory: F:\MedAi\pancreas_all\ZS17295962
    Directory: F:\MedAi\pancreas_all\ZS18233373
    Directory: F:\MedAi\pancreas_all\ZS18319884